package com.ruoyi.visitor.service;

import java.util.List;
import com.ruoyi.visitor.domain.VisitorAppointment;

/**
 * 访客预约记录Service接口
 * 
 * @author ruoyi
 * @date 2025-04-12
 */
public interface IVisitorAppointmentService 
{
    /**
     * 查询访客预约记录
     * 
     * @param id 访客预约记录主键
     * @return 访客预约记录
     */
    public VisitorAppointment selectVisitorAppointmentById(Long id);

    /**
     * 查询访客预约记录列表
     * 
     * @param visitorAppointment 访客预约记录
     * @return 访客预约记录集合
     */
    public List<VisitorAppointment> selectVisitorAppointmentList(VisitorAppointment visitorAppointment);

    /**
     * 新增访客预约记录
     * 
     * @param visitorAppointment 访客预约记录
     * @return 结果
     */
    public int insertVisitorAppointment(VisitorAppointment visitorAppointment);

    /**
     * 修改访客预约记录
     * 
     * @param visitorAppointment 访客预约记录
     * @return 结果
     */
    public int updateVisitorAppointment(VisitorAppointment visitorAppointment);

    /**
     * 批量删除访客预约记录
     * 
     * @param ids 需要删除的访客预约记录主键集合
     * @return 结果
     */
    public int deleteVisitorAppointmentByIds(String ids);

    /**
     * 删除访客预约记录信息
     * 
     * @param id 访客预约记录主键
     * @return 结果
     */
    public int deleteVisitorAppointmentById(Long id);
}
